<template>
    <div class="app">

        <web-view ref="reflectName" class="webview"> </web-view>

    </div>
</template>

<style>
    .app {
        width: 750px;
        flex: 1;
    }

    .webview {
        flex: 1;
    }
</style>

<script>
    export default {
        data(){
            return{
                url:null
            }
        },
        created() {
            this.url=app.config.params.url
        },
        mounted() {
            this.$refs.reflectName.setUrl(this.url);
        }
    };
</script>
